import Vue from 'vue';
import VueRoter from 'vue-router';

Vue.use(VueRoter);

export default new VueRoter({
    // mode: 'history',
    routes: [
        //路由重定向
        { path: '/', redirect: '/index' },
    ]
})